package com.taomu.app.zongchouhuli.moudle.mine.contract;

import com.taomu.app.zongchouhuli.entity.BaseChangeResponse;
import com.taomu.app.zongchouhuli.framework.BasePresenter;
import com.taomu.app.zongchouhuli.framework.BaseView;
import com.taomu.app.zongchouhuli.http.res.ResProductIncomeDetailEntity;
import com.taomu.app.zongchouhuli.moudle.mine.entity.IncomeDetailEnttiy;

import java.util.List;

public class UserIncomeDetailContract {
    public interface Presenter extends BasePresenter {

        void getProductInfo(String id);

        void getIncomeDetailList();

        void detch();
    }

    public interface View extends BaseView<Presenter> {

        void setProductInfo(BaseChangeResponse<ResProductIncomeDetailEntity> baseResponse);

        void setIncomeDetailList(List<IncomeDetailEnttiy> mData);
    }
}
